package com.gdwstudy.poly;

public class Test {
    public static void main(String[] args) {
        Master tom = new Master("tom");
        Dog dog = new Dog("小黄狗");
        Cat cat = new Cat("小花猫");
        Bone bone = new Bone("大棒骨");
        Fish fish = new Fish("小黄鱼");
        tom.feed(dog,bone);
        tom.feed(cat,fish);
    }
}
